﻿using System.ComponentModel;
using System;

namespace Moria.Silverlight.Model
{
	[Flags]
	public enum MoveFlag : uint
	{
		TreasureShift = 26,		/* used for recall of treasure */
		None = 0,
		/* definitions for creatures, cmove field */
		AllMoveFlags = 0x0000003F,
		AttackOnly = 0x00000001,
		MoveNormal = 0x00000002,
		/* For Quylthulgs, which have no physical movement.  */
		MagicOnly = 0x00000004,

		RandomMove = 0x00000038,
		Random20 = 0x00000008,
		Random40 = 0x00000010,
		Random75 = 0x00000020,

		Special = 0x003F0000,
		Invisible = 0x00010000,
		OpenDoor = 0x00020000,
		Phase = 0x00040000,
		EatsOther = 0x00080000,
		PicksUp = 0x00100000,
		Multiply = 0x00200000,

		CarryObject = 0x01000000,
		CarryGold = 0x02000000,
		Treasure = 0x7C000000,
		Random60 = 0x04000000,
		Random90 = 0x08000000,
		Object_1d2 = 0x10000000,
		Object_2d2 = 0x20000000,
		Object_4d2 = 0x40000000,
		Win = 0x80000000,
	}
}
